package com.lyy.mycart;

import java.io.Serializable;

import android.R.integer;

public class Cartbean implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int C_id;
	private int U_id;
	private int P_id;
	private double price;
	private int account;
	private String time;
    String img;
    String name;
    double postage;
    int S_id;
    String storename;
    private boolean isChoosed;
	public Cartbean() {
		super();
	}
	public Cartbean(int c_id, int u_id, int p_id, double price, int account,
			String time, String img, String name, double postage, int s_id,
			String storename) {
		super();
		C_id = c_id;
		U_id = u_id;
		P_id = p_id;
		this.price = price;
		this.account = account;
		this.time = time;
		this.img = img;
		this.name = name;
		this.postage = postage;
		S_id = s_id;
		this.storename = storename;
	}
	public int getC_id() {
		return C_id;
	}
	public void setC_id(int c_id) {
		C_id = c_id;
	}
	public int getU_id() {
		return U_id;
	}
	public void setU_id(int u_id) {
		U_id = u_id;
	}
	public int getP_id() {
		return P_id;
	}
	public void setP_id(int p_id) {
		P_id = p_id;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getAccount() {
		return account;
	}
	public void setAccount(int account) {
		this.account = account;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPostage() {
		return postage;
	}
	public void setPostage(double postage) {
		this.postage = postage;
	}
	public int getS_id() {
		return S_id;
	}
	public void setS_id(int s_id) {
		S_id = s_id;
	}
	public String getStorename() {
		return storename;
	}
	public void setStorename(String storename) {
		this.storename = storename;
	}
	
	
	
	public boolean isChoosed() {
		return isChoosed;
	}
	public void setChoosed(boolean isChoosed) {
		this.isChoosed = isChoosed;
	}
	@Override
	public String toString() {
		return "Cartbean [C_id=" + C_id + ", U_id=" + U_id + ", P_id=" + P_id
				+ ", price=" + price + ", account=" + account + ", time="
				+ time + ", img=" + img + ", name=" + name + ", postage="
				+ postage + ", S_id=" + S_id + ", storename=" + storename
				+ ", isChoosed=" + isChoosed + "]";
	}
	
    
    
}
